package com.zg.common.core.dao.autoform;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zg.common.core.dao.autoform.mapper.DiyFormMapper;
import com.zg.common.core.req.PageReq;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author zxb
 */
@Service
public class DiyFormDao extends ServiceImpl<DiyFormMapper, DiyForm> {

    public Page<Map<String, Object>> pageTable(Page<Map<String,Object>> page, String tableName){
        return baseMapper.pageTable(page,tableName);
    }

    public  String getComments(String tableName){
        return baseMapper.getComments(tableName);
    }
}
